package cn.hzc.fortess.system.eventbus;



public class BizLogEvent implements Event {


    private String loginName;
    private String ip;
    private String logDetail;
    private Exception exception;
    private String className;
    private String method;
    private String logName;


    public BizLogEvent(String loginName, String ip, String logDetail) {
        this.loginName = loginName;
        this.ip = ip;
        this.logDetail = logDetail;
    }


    public BizLogEvent(String logName,String loginName, String ip, String logDetail,String className,String method) {
        this.loginName = loginName;
        this.ip = ip;
        this.logDetail = logDetail;
        this.method = method;
        this.className= className;
        this.logName = logName;
    }

    public BizLogEvent(String loginName, String ip, Exception e) {
        this.loginName = loginName;
        this.ip = ip;
        this.exception = e;
    }

    public BizLogEvent(String logName,String loginName, String ip, Exception e) {
        this.loginName = loginName;
        this.ip = ip;
        this.logName = logName;
        this.exception = e;
    }

    public String getLoginName() {
        return loginName;
    }

    public String getIp() {
        return ip;
    }

    public String getLogDetail() {
        return logDetail;
    }

    public Exception getException() {
        return exception;
    }

    public String getClassName() {
        return className;
    }

    public String getMethod() {
        return method;
    }

    public String getLogName() {
        return logName;
    }
}
